package top.stacktrace.binfo;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookListService {
    @DubboReference(version = "1.0.0")
    private BookService bkService;

    public List<Book> getBooks(){
        return bkService.getBooks();
    }
}
